package com.hongxun.greenentity.tk;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;


/**
 * 点位材料设备工程量
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-08-28 11:12:43
 */
@Entity
public class DMaterialCostEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//主键
	@Id
	private String guid;
	//所属项目ID
	private String pGuid;
	//所属点位ID
	private String pPGuid;
	//材料购置表id
	private String pMGuid;
	//材料ID
	private String mMGuid;
	//材料名称
	private String mMName;
	//材料类型(0-设备，1-材料)
	private Integer mMType;
	//来自那张表(1 2 设备旧新 3 4 材料 旧新)
	private Integer pMSource;
	//工程量类别
	private String mCWork;
	//工程量名称
	private String mCQuantities;
	//工程量说明
	private String mCExplain;
	//购置单位
	private String mCUnit;
	//购置单位
	private String mCMeterUnit;
	//现场采集数量
	private Double mCCount;
	//单价（元）
	private Double mCPrice;
	//合价（元）
	private Double mCPriceall;
	//计量与计价比值
	private Double mCRatio;
	//数据状态
	private String mCDatastate;


	@Generated(hash = 1918778115)
	public DMaterialCostEntity(String guid, String pGuid, String pPGuid,
			String pMGuid, String mMGuid, String mMName, Integer mMType, Integer pMSource,
			String mCWork, String mCQuantities, String mCExplain, String mCUnit,
			String mCMeterUnit, Double mCCount, Double mCPrice, Double mCPriceall,
			Double mCRatio, String mCDatastate) {
		this.guid = guid;
		this.pGuid = pGuid;
		this.pPGuid = pPGuid;
		this.pMGuid = pMGuid;
		this.mMGuid = mMGuid;
		this.mMName = mMName;
		this.mMType = mMType;
		this.pMSource = pMSource;
		this.mCWork = mCWork;
		this.mCQuantities = mCQuantities;
		this.mCExplain = mCExplain;
		this.mCUnit = mCUnit;
		this.mCMeterUnit = mCMeterUnit;
		this.mCCount = mCCount;
		this.mCPrice = mCPrice;
		this.mCPriceall = mCPriceall;
		this.mCRatio = mCRatio;
		this.mCDatastate = mCDatastate;
	}
	@Generated(hash = 1608988111)
	public DMaterialCostEntity() {
	}


	/**
	 * 设置：主键
	 */
	public void setGuid(String guid) {
		this.guid = guid;
	}
	/**
	 * 获取：主键
	 */
	public String getGuid() {
		return guid;
	}
	/**
	 * 设置：所属项目ID
	 */
	public void setPGuid(String pGuid) {
		this.pGuid = pGuid;
	}
	/**
	 * 获取：所属项目ID
	 */
	public String getPGuid() {
		return pGuid;
	}
	/**
	 * 设置：所属点位ID
	 */
	public void setPPGuid(String pPGuid) {
		this.pPGuid = pPGuid;
	}
	/**
	 * 获取：所属点位ID
	 */
	public String getPPGuid() {
		return pPGuid;
	}
	/**
	 * 设置：材料购置表id
	 */
	public void setPMGuid(String pMGuid) {
		this.pMGuid = pMGuid;
	}
	/**
	 * 获取：材料购置表id
	 */
	public String getPMGuid() {
		return pMGuid;
	}
	/**
	 * 设置：材料ID
	 */
	public void setMMGuid(String mMGuid) {
		this.mMGuid = mMGuid;
	}
	/**
	 * 获取：材料ID
	 */
	public String getMMGuid() {
		return mMGuid;
	}
	/**
	 * 设置：工程量类别
	 */
	public void setMCWork(String mCWork) {
		this.mCWork = mCWork;
	}
	/**
	 * 获取：工程量类别
	 */
	public String getMCWork() {
		return mCWork;
	}
	/**
	 * 设置：工程量名称
	 */
	public void setMCQuantities(String mCQuantities) {
		this.mCQuantities = mCQuantities;
	}
	/**
	 * 获取：工程量名称
	 */
	public String getMCQuantities() {
		return mCQuantities;
	}
	/**
	 * 设置：工程量说明
	 */
	public void setMCExplain(String mCExplain) {
		this.mCExplain = mCExplain;
	}
	/**
	 * 获取：工程量说明
	 */
	public String getMCExplain() {
		return mCExplain;
	}
	/**
	 * 设置：购置单位
	 */
	public void setMCUnit(String mCUnit) {
		this.mCUnit = mCUnit;
	}
	/**
	 * 获取：购置单位
	 */
	public String getMCUnit() {
		return mCUnit;
	}
	/**
	 * 设置：购置单位
	 */
	public void setMCMeterUnit(String mCMeterUnit) {
		this.mCMeterUnit = mCMeterUnit;
	}
	/**
	 * 获取：购置单位
	 */
	public String getMCMeterUnit() {
		return mCMeterUnit;
	}
	/**
	 * 设置：现场采集数量
	 */
	public void setMCCount(Double mCCount) {
		this.mCCount = mCCount;
	}
	/**
	 * 获取：现场采集数量
	 */
	public Double getMCCount() {
		return mCCount;
	}
	/**
	 * 设置：单价（元）
	 */
	public void setMCPrice(Double mCPrice) {
		this.mCPrice = mCPrice;
	}
	/**
	 * 获取：单价（元）
	 */
	public Double getMCPrice() {
		return mCPrice;
	}
	/**
	 * 设置：合价（元）
	 */
	public void setMCPriceall(Double mCPriceall) {
		this.mCPriceall = mCPriceall;
	}
	/**
	 * 获取：合价（元）
	 */
	public Double getMCPriceall() {
		return mCPriceall;
	}
	/**
	 * 设置：计量与计价比值
	 */
	public void setMCRatio(Double mCRatio) {
		this.mCRatio = mCRatio;
	}
	/**
	 * 获取：计量与计价比值
	 */
	public Double getMCRatio() {
		return mCRatio;
	}
	/**
	 * 设置：数据状态
	 */
	public void setMCDatastate(String mCDatastate) {
		this.mCDatastate = mCDatastate;
	}
	/**
	 * 获取：数据状态
	 */
	public String getMCDatastate() {
		return mCDatastate;
	}
	public String getMMName() {
		return this.mMName;
	}
	public void setMMName(String mMName) {
		this.mMName = mMName;
	}
	public Integer getMMType() {
		return this.mMType;
	}
	public void setMMType(Integer mMType) {
		this.mMType = mMType;
	}
	public Integer getPMSource() {
		return this.pMSource;
	}
	public void setPMSource(Integer pMSource) {
		this.pMSource = pMSource;
	}
}
